<!DOCTYPE html>
<!-- saved from url=(0076)http://www.uphsh.com/wap/ef73d9dc381d412f964b99e521c270a6/invoice?userToken= -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!--<base href="http://www.uphsh.com:80/">--><base href=".">


<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta content="telephone=no" name="format-detection">
<meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no">
<title>极速开票</title>
<link type="text/css" href="../../resource/ystfiles/wapcommon.css" rel="stylesheet">
<link type="text/css" rel="stylesheet" href="../../resource/ystfiles/fapiao.css">
<script src="../../resource/ystfiles/jquery180min.js" type="text/javascript"></script>
<script type="text/javascript" src="../../resource/ystfiles/wapcommon.js"></script>
<script src="../../resource/qrcode.js"></script>
	
	
<link rel="stylesheet" href="../../resource/ystfiles/weuimin.css">
<link rel="stylesheet" href="../../resource/ystfiles/example.css">
<script type="text/javascript" src="../../resource/ystfiles/api.js"></script>
<script type="text/javascript" src="../../resource/ystfiles/jweixin1002.js"></script>
<script type="text/javascript" src="../../resource/ystfiles/jweixin1.js"></script>
<script src="../../resource/jquery1.js"></script>
<script src="../../resource/qrcode.js"></script>
<script src="../../resource/jquerybarcode.js"></script>
<script src="../../script/api.js"></script>
<script src="../../resource/ystfiles/qrcode.js"></script>
<script src="../../resource/ystfiles/jquerybarcode.js"></script>
    <script type="text/javascript" src="../../script/constants.js"></script>
        <script type="text/javascript" src="../../script/tmd5.js"></script>
    <script type="text/javascript" src="../../script/aes.js"></script>
	<script type="text/javascript" charset="UTF-8" src="../../script/naes.js"></script>
	<script type="text/javascript" src="../../script/modeecb.js"></script>
    <style type="text/css">
        a.btn {
    width: 60px;
    line-height: 25px;
    display: block;
    text-align: center;
    font-size: 12px;
    background: rgba(51,51,51,0.3);
    color: #fff;
    border-radius: 5px;
		}
   .num {
   width: 60px;
   height:25px;
   color: #0000FF
   }
   #cac{   
    width:90%;
    height:100%;
    background:#f2f2f2;
    margin:0 auto;
    padding:10px;
	}
	#cac .c_show .s_text{
	    width:90%;
	    height:5%;
	    border:none;
	    line-height:5%;
	    text-align:right;
	    padding-right:20px;
	    font-size:34px;
	    color:#9e9e9e;
	}
	#cac h2{    
	    font-size:16px;
	    color:#000;
	    font-weight:500;
	    padding:12px 0 12px 20px;
	    cursor:move;
	}
	#cac .c_key ul{ 
	    border:3px solid #fff;
	    overflow:auto;
	    margin:2% auto;
	}
	#cac .c_key ul li{  
	    float:left;
	    width:18%;
	    height:3%;
	    background:#eaeaea;
	    margin:3%;
	    text-align:center;
	    line-height:300%;
	    font-size:18px;
	    cursor:pointer;
	    list-style:none;
	    border:1px solid #fff;
	}
	#cac .c_key ul .c_tool{ 
	    background:#738fd8;
	    color:#fff;
	}
	#cac .c_key ul .c_result{   
	    background:#f90;
	    color:#fff;
	}
	#cac .c_key ul li:hover{    
	    background:#fff;
	    color:#000;
	}
    </style>
    <style type="text/css">
    .LS_box{
	    width:100%;
	    height:64px;
	    background: #fff;
	    border-bottom:3px solid #E1E1E1;
    }
    .LS_box_img{
	    float:left;
	    width:12%;
	    text-align: center;
	    line-height: 64px;
	    margin-left:2%;
    }
    .LS_box_img img{
	   width:100%;
    }
    .LS_box_lsh{
	    float:left;
	    margin-top:8px;
	    margin-left:2%;
    }
    .LS_box_je{
	    float:right;
	    height:64px;
	    line-height:64px;
	    margin-right: 6%;
    }
    .LS_bt{
    heigth:24px;
    line-height: 24px;
    }
    </style>
</head>

<body style="background : #E1E1E1">
   <header id="statusBar">
    <div class="header">
        <div class="return">
        	<img src="../../image/back.png" style="left:0" onclick="toindex()" />
        </div>
        <div class="tittle">
    		收款记录
        </div>
    </div>
    </header>
		<!-- 加载动画 -->
	<div id="loadingToast" style="display:none;">
			<div class="weui-mask_transparent"></div>
			<div class="weui-toast">
				<i class="weui-loading weui-icon_toast"></i>
				<p class="weui-toast__content">数据加载...</p>
			</div>
		</div>
		
		<div style="height:40px;line-height:40px">我的收款记录</div>
		
		<div id="FP_boxs">
          
	</div>
		<div style="text-align: center;bottom: 5px;font-size: 12px;margin-top: 30px"  >四川航天信息有限公司<br>客户热线：<a href="tel:95113" style="color: gray;">95113</a></div>
	</div>
	
</body>

<script>
apiready = function(){
    if(api.systemType == "ios"){
       document.getElementById("statusBar").style.background = "#298cb4";
    }
    $api.fixStatusBar( $api.dom('header') );
	var merid = api.pageParam.merid;
		    $("#loadingToast").show();
		    var callback = function(ret, err){
		        if(ret){
			        if (ret.flag=="Y") {
	    			    xlist=ret.data;
		        	for(var i=0;i<xlist.length;i++){
	
						var LSH = xlist[i].TRANSSEQID;
						var time = xlist[i].TRANSTM;
						var amt = parseInt(xlist[i].TXNAMT)/100;
						  var s = "";
	                       s += "<div class=\"LS_box\"><div class=\"LS_box_img\"><img src=\"../../image/tabBar/yl.png\"/></div>"
						          +"<div class=\"LS_box_lsh\">"
						          +"<div class=\"LS_bt\">"+LSH+"</div>"
						          +"<div class=\"LS_bt\">"+time+"</div>"
						          +"</div><div class=\"LS_box_je\">"
						          +"<h1>"+amt+"</h1>"
						          +"</div></div>";
						$("#FP_boxs").append(s);
	
		        	}
		        	$("#loadingToast").hide();
	   			 } else{
	   			    $("#loadingToast").hide();
	   			 }
   			 }else{
   			    $("#loadingToast").hide();
				api.alert({msg: JSON.stringify(err)});
   			 }
		    }
		    var content = {"merid":merid};
		    apiAjax(JSON.stringify(content),url.queryHistory,callback);
		}

	function getLocalTime(jsondate) {
			jsondate=""+jsondate+"";//因为jsonDate是number型的indexOf会报错
			if (jsondate.indexOf("+") > 0) {
                jsondate = jsondate.substring(0, jsondate.indexOf("+"));
            }
            else if (jsondate.indexOf("-") > 0) {
                jsondate = jsondate.substring(0, jsondate.indexOf("-"));
            }
            var date = new Date(parseInt(jsondate, 10));
            var month = date.getMonth() + 1 < 10 ? "0" + (date.getMonth() + 1) : date.getMonth() + 1;
            var currentDate = date.getDate() < 10 ? "0" + date.getDate() : date.getDate();
            var hours = date.getHours() < 10 ? "0" + date.getHours() : date.getHours();
            var minutes = date.getMinutes() < 10 ? "0" + date.getMinutes() : date.getMinutes();
            var seconds = date.getSeconds() < 10 ? "0" + date.getSeconds() : date.getSeconds();
            return date.getFullYear() + "-" + month + "-" + currentDate + " " + hours + ":" + minutes + ":" + seconds;
}

	function toindex(){
        api.closeWin();
	}


</script>

</html>
